package model2;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class ListInteger {
	//list integer
	private List<Integer> list;
	
	//constructor
	public ListInteger() {
		list = new ArrayList<Integer>();
	}
	
	//nhap list
	public void enterDataL() {
		Scanner scanner = new Scanner(System.in);
		int n;
		for(int i = 0; i < list.size(); i++) {
			n = scanner.nextInt();
			list.add(n);
		}
	}
	
	
	
	//write list to file
	//public List<Integer> enterDataAnyL(String file) {
		
	//}
	
	
	//nhap list bat ky
	
	//ghi tung phan tu
	
	//tim so chan
	
	//ghi so chan vao mot file "sochan.txt"
	
	//tim so nguyen to
	
	//ghi so nguyen to vao file
}
